<?php
$eventTable = new BAEventSheet();
$event = $eventTable->getListById($eventId);
$activityTable = new BASheet('companyActivity', $event);
$activityView = $activityTable->getView();
$control->renderView('activity_list', array(
    'activityView' => $activityView,
    'eventId' => $eventId));
?>
<!--<div class="row-fluid">
    <?php
    echo $control->getAjaxLink(array('name' => '活动列表', 'id' => 'ShowActivityList'), array(
        'cooker' => 'BWCompanyInfo@ShowActivityList',
        'htmlOptions' => array('class' => 'btn'),
        'eventId' => $eventId,
    ));

    echo $control->getAjaxLink(array('name' => '添加活动', 'id' => 'ShowAddCompanyActivity'), array(
        'cooker' => 'BWCompanyInfo@ShowAddCompanyActivity',
        'htmlOptions' => array('class' => 'btn'),
        'eventId' => $eventId,
    ));
    ?>
</div>-->